package com.StarStudio.Service.Impl;

import com.StarStudio.Domain.MainZone;
import com.StarStudio.Mapper.MainZoneMapper;
import com.StarStudio.Service.MainzoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MainzoneServiceImpl implements MainzoneService {

    @Autowired
    private MainZoneMapper mainzoneMapper;


    @Override
    public MainZone get() {
        return mainzoneMapper.get();
    }

    @Override
    public void add(MainZone mainzone) {
        mainzoneMapper.add(mainzone);
    }

    @Override
    public void update(MainZone mainzone) {
        mainzoneMapper.update(mainzone);
    }

}
